package com.juyu.miliao.api.dao.mysql;

import com.juyu.miliao.api.domain.DynamicAdvert;
import org.apache.ibatis.session.SqlSession;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;
@Repository
public class DynamicAdvertDao {

    @Resource
    private SqlSession sqlSession;

    public List<DynamicAdvert> getDynamicAdvert() {
        return sqlSession.selectList("getDynamicAdvert");
    }

}
